package cn.hsa.fqz.common.enums;

/**
 * 案事件状态枚举
 *
 * @author Administrator
 * @version 1.0
 * @date 2021-12-20 15:31
 */
public enum IncidentsResultEnum {

    CREATE("已发布"),PROCESSING("数据采集中"),PROCESSED("已采集"),DISTRIBUTE("已分发"), SIGNATURE("已签收"),BACK("取回"),FINISHED("已办结");

    private String label;

    IncidentsResultEnum(String label){
        this.label = label;
    }

    public String getLabel(){
        return this.label;
    }

    public static IncidentsResultEnum get(String name){

        for (IncidentsResultEnum value:IncidentsResultEnum.values()) {
            if(value.name().equals(name)){
                return value;
            }
        }
        return null;
    }
}
